package com.winshare.saleAssistant.domain.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Range;

@ApiModel
public class ParamCreateDTO {

    @Range(min = 0,max = 1, message = "0:查看内部资料不需要密码，1，查看内部资料需要密码")
    @ApiModelProperty(value = "0:查看内部资料不需要密码，1，查看内部资料需要密码",
            notes = "0:查看内部资料不需要密码，1，查看内部资料需要密码")
    private Integer isNecessaryPassword;

    @ApiModelProperty(value = "密码最小位数",notes = "密码最小位数")
    private Integer passwordMinBit;

    @ApiModelProperty(value = "在线时间",notes = "在线时间")
    private Integer onlineTime;


    public ParamCreateDTO() {
    }

    public Integer getIsNecessaryPassword() {
        return isNecessaryPassword;
    }

    public void setIsNecessaryPassword(Integer isNecessaryPassword) {
        this.isNecessaryPassword = isNecessaryPassword;
    }

    public Integer getPasswordMinBit() {
        return passwordMinBit;
    }

    public void setPasswordMinBit(Integer passwordMinBit) {
        this.passwordMinBit = passwordMinBit;
    }

    public Integer getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(Integer onlineTime) {
        this.onlineTime = onlineTime;
    }
}
